<?php

namespace App\Models\User\Faces\Marry;

use Illuminate\Database\Eloquent\Model;

class Logs extends Model
{
    protected  $table="user_face_marry_log";

    protected $fillable = [
        'to_face_id', 'from_face_id','status'
    ];

    protected $hidden = [
        'remember_token'
    ];

    public function ToFace(){
        return $this->hasOne('App\Models\User\Faces','id','to_face_id');
    }

    public function FromFace(){
        return $this->hasOne('App\Models\User\Faces','id','from_face_id');
    }
}
